package com.kfm.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;

import javax.mail.MessagingException;

public interface MailService{
    void sendEmail(String to,String subject,String text);
    //登录的eamil方法
    int loginCodeEmail(String to) throws MessagingException;
}
